export default {
  login:{
    u: 'user/public/login', //params: username,password,device_type
    m: 'get'
  },
  // 注册
  register: {
    u: 'user/public/register', // params: username,password
    m: 'get'
  },
  getGameByRoomId: {
    u: 'game/{0}', //game/read/{0}/name/{1}
    m: 'get'
  },
  gameOperation: {
    u: 'game/{0}',
    m: 'put'
  },
  getUserInfo: {
    u: '/',
    m: 'get'
  }
};

